package com.quyeying.enums;

/**
 * 订单基础表状态枚举类
 * @author shenkaixin
 */
public enum TblOrderBaseEnum {

    /**
     * 微信退款状态  SUCCESS：退款成功 CLOSED：退款关闭 PROCESSING：退款处理中 ABNORMAL：退款异常
     */
    WX_REFUND_STATUS_SUCCESS("SUCCESS"),
    WX_REFUND_STATUS_CLOSED("CLOSED"),
    WX_REFUND_STATUS_PROCESSING("PROCESSING"),
    WX_REFUND_STATUS_ABNORMAL("ABNORMAL"),

    /**
     * 支付状态 待支付【0】 已支付【1】 退款中【2】已退款【3】已驳回【4】
     */
    PAY_STATUS_I(0, "待支付"),
    PAY_STATUS_II(1, "已支付"),
    PAY_STATUS_III(2, "退款中"),
    PAY_STATUS_IV(3, "已退款"),
    PAY_STATUS_V(4, "已驳回"),

    /**
     * 订单状态 待付款【0】待发货【1】待收货【2】确认收货【3】已取消【4】已退款【5】退款中【6】
     */
    ORDER_STATUS_I(0, "待付款"),
    ORDER_STATUS_II(1, "待发货"),
    ORDER_STATUS_III(2, "待收货"),
    ORDER_STATUS_IV(3, "确认收货"),
    ORDER_STATUS_V(4, "已取消"),
    ORDER_STATUS_VI(5, "已退款"),
    ORDER_STATUS_VII(6, "退款中"),

    /**
     * 订单类型  0普通订单  1送礼订单  2收礼订单
     */
    ORDER_TYPE_I(0, "普通订单"),
    ORDER_TYPE_II(1, "送礼订单"),
    ORDER_TYPE_III(2, "收礼订单"),
    ;

    private String wxRefundStatus;
    private Integer statusCode;
    private String statusText;

    TblOrderBaseEnum(String wxRefundStatus) {
      this.wxRefundStatus = wxRefundStatus;
    }

    TblOrderBaseEnum(Integer statusCode, String statusText) {
        this.statusCode = statusCode;
        this.statusText = statusText;
    }

    public String getWxRefundStatus() {
        return wxRefundStatus;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public String getStatusText() {
        return statusText;
    }
}
